<template>
    <div id="tmpl">
        <mt-header fixed title="Vue商城系统">
            <router-link v-bind="{to:'/goods/goodsinfo/'+id}" slot="left">
                <mt-button icon="back">返回</mt-button>
            </router-link>
            <mt-button icon="more" slot="right"></mt-button>
        </mt-header>
        <comment :msg="id"></comment>
    </div>
</template>

 <script type="text/ecmascript-6">
 import comment from '../subcom/comment.vue'
export default {
    components:{
        comment
    },
    data() {
        return {
            id:0
        }

    },
    created(){
        this.id = this.$route.params.id
    },
    methods: {

    }
}
</script>

<style scoped >

</style>
